package com.woniuxy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.entity.AllRun;
import com.woniuxy.entity.DTO.GrabEvent;
import com.woniuxy.entity.DTO.RunPostMessageDTO;

import java.util.List;

public interface RunService extends IService<AllRun> {
    //获取最新发布的跑腿帖子
    List<RunPostMessageDTO> getListRun(int number);
    //抢单操作
    Boolean acceptRun(String runNumber, Integer userId);

    void sendGrabEvent(GrabEvent grabEvent);
    //获取我的接单

    //获取我的发布

    //接单

    //完成

}
